
using AutoMapper;
using SOEI.Solution.Integratedes.ElectronicSignet;
using SOEI.Solution.Integratedes.ElectronicSignet.Dtos;

namespace SOEI.Solution.CustomDtoAutoMapper
{

	/// <summary>
    /// 配置Member的AutoMapper映射
	/// 前往 <see cref="SolutionApplicationModule"/>的AbpAutoMapper配置方法下添加以下代码段
    /// PledgeBookDtoAutoMapper.CreateMappings(configuration);
    /// </summary>
	public static class PledgeBookDtoAutoMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <PledgeBook,PledgeBookListDto>();
            configuration.CreateMap <PledgeBookListDto,PledgeBook>();

            configuration.CreateMap <PledgeBookEditDto,PledgeBook>();
            configuration.CreateMap <PledgeBook,PledgeBookEditDto>();
					
        }
	}
}